package com.bigdata.model;

public class DataItem {
    private Integer id;

    private String type;

    private String dataCode;

    private String dataName;

    public DataItem(Integer id, String type, String dataCode, String dataName) {
        this.id = id;
        this.type = type;
        this.dataCode = dataCode;
        this.dataName = dataName;
    }

    public DataItem() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode == null ? null : dataCode.trim();
    }

    public String getDataName() {
        return dataName;
    }

    public void setDataName(String dataName) {
        this.dataName = dataName == null ? null : dataName.trim();
    }
}